package com.geping.etl.config.job;


import java.util.ArrayList;
import java.util.List;

/***
 *  job 任务注册中心
 * @author liang.xu
 * @date 2023.7.25
 */
public abstract class JobTaskRegister {

    private static List<JobTask> jobTasks = new ArrayList<>();

    public JobTaskRegister() {
        JobTask jobTask = (JobTask) this;
        jobTasks.add(jobTask);
    }

    public static List<JobTask> getJobTasks() {
        return jobTasks;
    }
}